package drds.data_propagate.spi;

import binlog_consume.instance.core.Instance;

/**
 * @author Chuanyi Li
 */
public class NopCanalMetricsService implements CanalMetricsService {

    public static final NopCanalMetricsService NOP = new NopCanalMetricsService();

    private NopCanalMetricsService() {
    }

    @Override
    public void initialize() {

    }

    @Override
    public void terminate() {

    }

    @Override
    public boolean isRunning() {
        return false;
    }

    @Override
    public void register(Instance instance) {

    }

    @Override
    public void unregister(Instance instance) {

    }

    @Override
    public void setServerPort(int port) {

    }
}
